package gijoe.dao;

import gijoe.dto.AbroadDto;
import gijoe.dto.ApplicationDto;
import gijoe.dto.AwdDto;
import gijoe.dto.BoardNoticeDto;
import gijoe.dto.BoardRecruitDto;
import gijoe.dto.CareerDto;
import gijoe.dto.CertiDto;
import gijoe.dto.ClubDto;
import gijoe.dto.CommcdDto;
import gijoe.dto.HopeDto;
import gijoe.dto.InfoDto;
import gijoe.dto.IntroDto;
import gijoe.dto.LangDto;
import gijoe.dto.ParttimeDto;
import gijoe.dto.SubmitDto;

import java.util.List;

public interface UserDao {
  
  public List<BoardNoticeDto> noticeSelectAll();
  public BoardNoticeDto noticeSelectOne(String notice_num);
  
  //채용공고----------------------------- 
  public List<BoardRecruitDto> recruitSelectAll();
  public List<BoardRecruitDto> recruitSelectAll(BoardRecruitDto dto);
  public BoardRecruitDto recruitSelectOne(String rcrt_num);
  public void recruitDelete(String rcrt_num,String app_nm, String email, String app_pwd);
  public List<BoardRecruitDto> recruitList();
  
  //지원서--------
  public int AppLicaTioninsert(ApplicationDto dto);//지원서접수
  public List<ApplicationDto>app_receiptSelectAll();//지원서접수 공고번호가져오기
  public List<BoardRecruitDto> userRecruitSelectAll();
  public List<CommcdDto> userRecruitCdSelect();
  public ApplicationDto Appidentify(ApplicationDto dto);//지원서접수페이지 지원접수 확인하기
  public  ApplicationDto  Emailoverlap(String email,String rcrt_num);//지원서접수 이메일중복확인

  public ApplicationDto userPassSearch(ApplicationDto dto);
  //----------------------------------------------------------------------
  public int Infoinsert(InfoDto dto);//기본사항 페이지 인적사항insert
  public int Schinsert(String app_num,String sch_cd,
            String sch_fr_ymm,String sch_to_ymm, String sch_ent_cd,String sch_nm,String sch_mjr_cd,
            String sch_mjr_nm,String sch_gra_cd,String sch_mark,String sch_fl_mark,String sch_grad_yn);//기본사항페이지 대학교 insert
  //-----------------------------------------------------------------------
  public  int AbroadInsert(AbroadDto dto);//경력사항 해외연수 insert
  public int CareerInser(CareerDto dto);//경력사항  경력부분 insert
  public int Parttimeinsert(ParttimeDto dto);//경력사항 아르바이트 insert
  public int Clubinsert(ClubDto dto);//경력사항 동아리 insert
  //-----------------------------------------------------------------------
  public int Awdinsert(AwdDto dto);//기타사항 수상경력insert
  public int Langinsert(LangDto dto);//기타사항 외국어insert
  public int Hopeinsert(HopeDto dto);//기타사항 해외근무 insert
  public int Certiinsert(CertiDto dto);//기타사항 자격면허 insert
  //------------------------------------------------------------------------
  public ApplicationDto SelfSelect(String app_num);//기타사항 자기소개서제목 뿌리기 
  public int Introinsert(IntroDto dto);//자기소개 insert
  //------------------------------------------------------------------------
  public ApplicationDto Apprecruit_nm(String app_num);//최종제출페이지 채용명가져오기
  public int Submitinster(SubmitDto dto);//최종제출 insert
  public int Submitupdate(SubmitDto dto);//지원자 최종지원상태 변경 
}
